﻿using System.Collections.Generic;


namespace Video.Domain.Users
{
    public class UserInfoRoleView:Entity
    {
        public UserInfoRoleView()
        {
            Role = new List<Role>();
        }

        public string? Name { get; set; }
        public string? UserName { get; set; }
        public string? Password { get; set; }
        /// <summary>
        /// 用户头像
        /// </summary>
        public string? Avatar { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Enable { get; set; } = true;
        /// <summary>
        /// 存储与用户相关联的角色信息
        /// </summary>
        public List<Role> Role { get; set; }
    }
}
